package com.jkoss.wine.investment.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 新客户基本情况交接表
 * 
 * @Author Jason
 * @Version 1.0, 2018-11-27
 * @See
 * @Since com.jkoss.wine.investment.entity
 * @Description: TODO
 */
public class Handover extends Model<Handover> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 招商信息id
	 */
	@TableField("imfid")
	private String imfid;
	/**
	 * 业主姓名
	 */
	@Excel(name = "业主姓名", orderNum = "0", width = 30)
	@TableField("name")
	private String name;
	/**
	 * 年龄
	 */
	@Excel(name = "年龄", orderNum = "1", width = 30)
	@TableField("age")
	private Integer age;
	/**
	 * 业主性格
	 */
	@Excel(name = "业主性格", orderNum = "2", width = 30)
	@TableField("cacr")
	private String cacr;
	/**
	 * 业主职业
	 */
	@Excel(name = "业主职业", orderNum = "3", width = 30)
	@TableField("carr")
	private String carr;
	/**
	 * 联系电话
	 */
	@Excel(name = "联系电话", orderNum = "4", width = 30)
	@TableField("phone")
	private String phone;
	/**
	 * QQ
	 */
	@Excel(name = "QQ", orderNum = "5", width = 30)
	@TableField("qq")
	private String qq;
	/**
	 * 签约时间
	 */
	@Excel(name = "签约时间", orderNum = "6", format = "yyyy-MM-dd", width = 30)
	@TableField("sgtm")
	private Date sgtm;
	/**
	 * 经营方式
	 */
	@Excel(name = "经营方式", orderNum = "7", width = 30)
	@TableField("optw")
	private String optw;
	/**
	 * 店铺级别
	 */
	@Excel(name = "店铺级别", orderNum = "8", width = 30)
	@TableField("stle")
	private String stle;
	/**
	 * 是否有店铺：0-否、1-是
	 */
	@Excel(name = "是否有店铺", orderNum = "9", replace = { "否_0", "是_1" }, width = 30)
	@TableField("issp")
	private Integer issp;
	/**
	 * 客户来源
	 */
	@Excel(name = "客户来源", orderNum = "10", width = 30)
	@TableField("source")
	private String source;
	/**
	 * 店铺面积（平方分米）
	 */
	@Excel(name = "店铺面积", orderNum = "11", width = 30)
	@TableField("ftae")
	private Integer ftae;
	/**
	 * 有无图纸：0-无、1-有
	 */
	@Excel(name = "店铺面积", orderNum = "12", replace = { "无_0", "有_1" }, width = 30)
	@TableField("isdw")
	private Integer isdw;
	/**
	 * 图纸设计日期
	 */
	@Excel(name = "图纸设计日期", orderNum = "13", format = "yyyy-MM-dd", width = 30)
	@TableField("dstm")
	private Date dstm;
	/**
	 * 预计开业时间
	 */
	@Excel(name = "预计开业时间", orderNum = "14", format = "yyyy-MM-dd", width = 30)
	@TableField("eptm")
	private Date eptm;
	/**
	 * 地址
	 */
	@Excel(name = "地址", orderNum = "15", width = 30)
	@TableField("addr")
	private String addr;
	/**
	 * 客户说明
	 */
	@Excel(name = "客户说明", orderNum = "16", width = 30)
	@TableField("eptn")
	private String eptn;
	/**
	 * 招商经理
	 */
	@TableField("imid")
	private String imid;
	/**
	 * 区域经理
	 */
	@TableField("rgid")
	private String rgid;
	/**
	 * 运营督导
	 */
	@TableField("opid")
	private String opid;
	/**
	 * 人员下派问题
	 */
	@Excel(name = "人员下派问题", orderNum = "20", width = 30)
	@TableField("sdpb")
	private String sdpb;
	/**
	 * 进货返点服务
	 */
	@Excel(name = "进货返点服务", orderNum = "21", width = 30)
	@TableField("icrs")
	private String icrs;
	/**
	 * 运费承担问题
	 */
	@Excel(name = "运费承担问题", orderNum = "22", width = 30)
	@TableField("fipb")
	private String fipb;
	/**
	 * 星配调换问题
	 */
	@Excel(name = "星配调换问题", orderNum = "23", width = 30)
	@TableField("mcpb")
	private String mcpb;
	/**
	 * 人员培训问题
	 */
	@Excel(name = "人员培训问题", orderNum = "24", width = 30)
	@TableField("tapb")
	private String tapb;
	/**
	 * 招商促销方案
	 */
	@Excel(name = "招商促销方案", orderNum = "25", width = 30)
	@TableField("pmtn")
	private String pmtn;
	/**
	 * 合作协议（补充条款）
	 */
	@Excel(name = "合作协议", orderNum = "26", width = 30)
	@TableField("cpam")
	private String cpam;
	/**
	 * 状态：1-申请移交、2-移交通过、3-移交不通过
	 */
	@TableField("state")
	private Integer state;
	/**
	 * 合同编号
	 */
	@Excel(name = "合同编号", orderNum = "27", width = 30)
	@TableField("ctno")
	private String ctno;
	/**
	 * 保证金
	 */
	@Excel(name = "保证金", orderNum = "28", width = 30)
	@TableField("mrgn")
	private Integer mrgn;
	/**
	 * 报销费用
	 */
	@Excel(name = "报销费用", orderNum = "29", width = 30)
	@TableField("rbmt")
	private Integer rbmt;
	/**
	 * 管理费
	 */
	@Excel(name = "管理费", orderNum = "30", width = 30)
	@TableField("mgmt")
	private Integer mgmt;
	/**
	 * 附件（合同扫描件）
	 */
	@TableField("anex")
	private String anex;
	/**
	 * 地区名称
	 */
	@TableField("area_name")
	private String areaName;
	/**
	 * 地区编号
	 */
	@TableField("area_code")
	private String areaCode;
	/**
	 * 当操作人为null时，表示自动录入
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 是否删除：0-未删除、1-已删除、2-不能删除
	 */
	@TableField("del")
	private Integer del;
	/**
	 * 审核人
	 */
	@TableField("rvid")
	private String rvid;
	/**
	 * 审核备注
	 */
	@TableField("rvrm")
	private String rvrm;

	/**
	 * 保证金
	 */
	@Excel(name = "品牌授权费", orderNum = "28", width = 30)
	@TableField("auth")
	private Integer auth;

	public Integer getAuth() {
		return auth;
	}

	public void setAuth(Integer auth) {
		this.auth = auth;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getImfid() {
		return imfid;
	}

	public void setImfid(String imfid) {
		this.imfid = imfid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getCacr() {
		return cacr;
	}

	public void setCacr(String cacr) {
		this.cacr = cacr;
	}

	public String getCarr() {
		return carr;
	}

	public void setCarr(String carr) {
		this.carr = carr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public Date getSgtm() {
		return sgtm;
	}

	public void setSgtm(Date sgtm) {
		this.sgtm = sgtm;
	}

	public String getOptw() {
		return optw;
	}

	public void setOptw(String optw) {
		this.optw = optw;
	}

	public String getStle() {
		return stle;
	}

	public void setStle(String stle) {
		this.stle = stle;
	}

	public Integer getIssp() {
		return issp;
	}

	public void setIssp(Integer issp) {
		this.issp = issp;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getFtae() {
		return ftae;
	}

	public void setFtae(Integer ftae) {
		this.ftae = ftae;
	}

	public Integer getIsdw() {
		return isdw;
	}

	public void setIsdw(Integer isdw) {
		this.isdw = isdw;
	}

	public Date getDstm() {
		return dstm;
	}

	public void setDstm(Date dstm) {
		this.dstm = dstm;
	}

	public Date getEptm() {
		return eptm;
	}

	public void setEptm(Date eptm) {
		this.eptm = eptm;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getEptn() {
		return eptn;
	}

	public void setEptn(String eptn) {
		this.eptn = eptn;
	}

	public String getImid() {
		return imid;
	}

	public void setImid(String imid) {
		this.imid = imid;
	}

	public String getRgid() {
		return rgid;
	}

	public void setRgid(String rgid) {
		this.rgid = rgid;
	}

	public String getOpid() {
		return opid;
	}

	public void setOpid(String opid) {
		this.opid = opid;
	}

	public String getSdpb() {
		return sdpb;
	}

	public void setSdpb(String sdpb) {
		this.sdpb = sdpb;
	}

	public String getIcrs() {
		return icrs;
	}

	public void setIcrs(String icrs) {
		this.icrs = icrs;
	}

	public String getFipb() {
		return fipb;
	}

	public void setFipb(String fipb) {
		this.fipb = fipb;
	}

	public String getMcpb() {
		return mcpb;
	}

	public void setMcpb(String mcpb) {
		this.mcpb = mcpb;
	}

	public String getTapb() {
		return tapb;
	}

	public void setTapb(String tapb) {
		this.tapb = tapb;
	}

	public String getPmtn() {
		return pmtn;
	}

	public void setPmtn(String pmtn) {
		this.pmtn = pmtn;
	}

	public String getCpam() {
		return cpam;
	}

	public void setCpam(String cpam) {
		this.cpam = cpam;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getCtno() {
		return ctno;
	}

	public void setCtno(String ctno) {
		this.ctno = ctno;
	}

	public Integer getMrgn() {
		return mrgn;
	}

	public void setMrgn(Integer mrgn) {
		this.mrgn = mrgn;
	}

	public Integer getRbmt() {
		return rbmt;
	}

	public void setRbmt(Integer rbmt) {
		this.rbmt = rbmt;
	}

	public Integer getMgmt() {
		return mgmt;
	}

	public void setMgmt(Integer mgmt) {
		this.mgmt = mgmt;
	}

	public String getAnex() {
		return anex;
	}

	public void setAnex(String anex) {
		this.anex = anex;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getRvid() {
		return rvid;
	}

	public void setRvid(String rvid) {
		this.rvid = rvid;
	}

	public String getRvrm() {
		return rvrm;
	}

	public void setRvrm(String rvrm) {
		this.rvrm = rvrm;
	}

	@Override
	public String toString() {
		return "Handover{" + ", id=" + id + ", imfid=" + imfid + ", name=" + name + ", age=" + age + ", cacr=" + cacr + ", carr=" + carr + ", phone=" + phone + ", qq=" + qq + ", sgtm=" + sgtm + ", optw=" + optw + ", stle=" + stle + ", issp=" + issp + ", source=" + source + ", ftae=" + ftae + ", isdw=" + isdw + ", dstm=" + dstm + ", eptm=" + eptm + ", addr=" + addr + ", eptn=" + eptn + ", imid=" + imid + ", rgid=" + rgid + ", opid=" + opid + ", sdpb=" + sdpb + ", icrs=" + icrs + ", fipb=" + fipb + ", mcpb=" + mcpb + ", tapb=" + tapb + ", pmtn=" + pmtn + ", cpam=" + cpam + ", state=" + state + ", ctno=" + ctno + ", mrgn=" + mrgn + ", rbmt=" + rbmt + ", mgmt=" + mgmt + ", anex=" + anex + ", areaName=" + areaName + ", areaCode=" + areaCode + ", operator=" + operator + ", addTime=" + addTime + ", del=" + del + "}";
	}
}
